﻿



using NJsonSchema.CodeGeneration;
using NJsonSchema.CodeGeneration.CSharp;
using NSwag;
using NSwag.CodeGeneration.CSharp;
using System.Collections.Generic;

namespace Coldairarrow.Api
{
    public class MultiCSharpClientGenerator : CSharpClientGenerator
    {
        public MultiCSharpClientGenerator(OpenApiDocument document, CSharpClientGeneratorSettings settings) : base(document, settings)
        {
        }

        public MultiCSharpClientGenerator(OpenApiDocument document, CSharpClientGeneratorSettings settings, CSharpTypeResolver resolver) : base(document, settings, resolver)
        {
        }

        /// <summary>
        /// 获取请求和返回值实体类型代码集合
        /// </summary>
        /// <returns></returns>
        public new IEnumerable<CodeArtifact> GenerateDtoTypes()
        {
            return base.GenerateDtoTypes();
        }

        /// <summary>
        /// 获取客户端代码集合
        /// </summary>
        /// <returns></returns>
        public new IEnumerable<CodeArtifact> GenerateAllClientTypes()
        {
            return base.GenerateAllClientTypes();
        }
       
    }
}
